{include file="member.header.html"}
{include file="title.html"}

<div class="goods_info">
    <!--{foreach from=$goods_list item=goods}-->
    <div class="goods">
        <img src="{$site_url}/{$goods.goods_image}" />
        <p class="title">{$goods.goods_name|escape}</p>
        <p>{$goods.specification}</p>
        <p>{$lang.price}：<strong>{$goods.price|price}</strong>{$lang.quantity}：{$goods.quantity}</p>
    </div>
    <!--{/foreach}-->
    <p class="pay">
        <!-- <a href="{url app=cashier&order_id=$order.order_id}" class="white_btn">现在付款</a>
           <a href="#" class="white_btn cancel">取消订单</a>-->
    </p>
</div>
<div class="goods_line"></div>

<ul class="orderlist orderinfo">
    <li><b>{$lang.order_status}</b><span>{$order.status|modifier:order_status}</span></li>
    <li><b>{$lang.order_sn}</b><span>{$order.order_sn}</span></li>
    <!--{if $order.payment_code}-->
    <li><b>{$lang.payment_name}</b><span>{$order.payment_name|escape}</span></li>
    <!--{/if}-->
    <!--{if $order.pay_message}-->
    <li><b>{$lang.pay_message}</b><span>{$order.pay_message|escape}</span></li>
    <!--{/if}-->
    <li><b>{$lang.add_time}</b><span>{$order.add_time|date:complete}</span></li>
    <!--{if $order.pay_time}-->
    <li><b>{$lang.pay_time}</b><span>{$order.pay_time|date:complete}</span></li>
    <!--{/if}-->
    <!--{if $order.ship_time}-->
    <li><b>{$lang.ship_time}</b><span>{$order.ship_time|date:complete}</span></li>
    <!--{/if}-->
    <!--{if $order.finished_time}-->
    <li><b>{$lang.finished_time}</b><span>{$order.finished_time|date:complete}</span></li>
    <!--{/if}-->
</ul>
<ul class="orderlist orderinfo">
    <li><b>{$lang.buyer_name}</b><span>{$order.buyer_name|escape}</span></li>
    <li><b>{$lang.region}</b><span>{$order.region_name|escape|default:-}</span></li>
    <li><b>{$lang.phone_mob}</b><span>{$order.phone_mob|default:-}</span></li>
    <li><b>{$lang.email}</b><span>{$order.buyer_email|default:-}</span></li>
    <li><b>{$lang.address}</b><span>{$order.address|escape|default:-}</span></li>
</ul>
<ul class="orderlist orderinfo">
    <!--{foreach from=$order_logs item=log}-->
    <li>
        <b><!--{if $log.operator eq '0'}--><!--{else}-->{$log.operator|escape}<!--{/if}--></b>
        <span>{$lang.at}{$log.log_time|date:complete}{$lang.change_status}{$log.order_status}{$lang.change_to}{$log.changed_status}<br/><!--{if $log.remark}-->{$lang.reason}:{$log.remark|escape}<!--{/if}--></span>
    </li>
    <!--{/foreach}-->
</ul>
<ul class="orderlist orderinfo">
    <li><b>{$lang.consignee_address}</b><span>{$order_extm.region_name|escape}&nbsp;{$order_extm.address|escape}</span></li>
    <li><b>{$lang.consignee}</b><span>{$order_extm.consignee|escape}</span></li>
    <!--{if $order_extm.phone_mob}-->   <li><b>{$lang.phone_mob}</b><span>{$order_extm.phone_mob}</span></li><!--{/if}-->
    <!--{if $order_extm.zipcode}-->  <li><b>{$lang.postcode}</b><span>{$order_extm.zipcode|escape}</span></li><!--{/if}-->
    <!--{if $order.postscript}--><li ><b style="width:87px">{$lang.postscript}</b><span>{$order.postscript|escape}</span></li> <!--{/if}-->
    <!--{if $order.invoice_no}-->
    <li > <b> {$lang.invoice_no}</b><span>{$order.invoice_no|escape}</span></li>
    <!--{/if}-->
</ul>

<p class="total_price orderlist orderinfo">
    {$lang.goods_amount}：<strong>{$order.goods_amount|price}</strong><br />
    {$lang.logistics}:（{$order_extm.shipping_name|escape}）：<strong>{$order_extm.shipping_fee|price}</strong><br />
    {$lang.preference}：<strong>{$order.discount|price}</strong><br />
    {$lang.total_prices}：<strong>{$order.order_amount|price}</strong>
</p>
<p class="red_btn">{$lang.total_prices}：{$order.order_amount|price}</p>
<script>
    $(function(){
        $("img").each(function(){
            var temp_spec=$(this).attr('src');
            if(temp_spec.indexOf('/goodsspec/')>-1){
                var my_site=SITE_URL;
                $(this).attr('src',my_site.replace('/mobile','/')+temp_spec);
                $(this).css('width','24px');
                $(this).css('height','24px');
            }
        })
    })
</script>
<!------底部-------->
{include file="footer.html"}